# while语句的跳出
s = 0
while True:
    s += 1
    if s == 6:
        break   # 跳出循环
    print(s)

# for语句的跳出
print("for语句的跳出")
for i in range(0, 10):
    print(i)
    if i == 1:
        break   # 跳出整个循环

